package com.zy.batiya.service;

import java.text.ParseException;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

public interface ApiService {
  JSONObject searchInventory(Map<String,String> paramMap);
  
  JSONObject addOrder(Map<String,String> paramMap);
  
  JSONObject cancelOrder(Map<String,String> paramMap);
  
  
  void updateInventoryItemByCancel(String oid);
  
  /** 更新库存
   * 
   * @param paramMap partner_uid partner_uid partner_pid checkin checkout
   * 
   */
  void updateInventory(Map<String,String> paramMap);
  
  JSONObject searchOrder(Map<String,String> paramMap);
  
  String getical(Map<String,String> paramMap) throws ParseException;
}

